Update css parser tests for colors
authorMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2015 19:08:58 +0000 (14:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2015 19:10:20 +0000 (14:10 -0500)
Use the color property instead of a made-up rgba-valued property.

testsuite/css/parser/colors-errors.css
testsuite/css/parser/colors-red.css
testsuite/css/parser/colors-red.ref.css

index 4b2cbada365523dc41d926902ead157c45a574ab..d5dd178cabe22ad2b68e07dc36be76cb340c9641 100644 (file)
@@ -1,31 +1,31 @@
 a {
-  rgba-property: #1;
+  color: #1;
 }
 
 b {
-  rgba-property: #12;
+  color: #12;
 }
 
 c {
-  rgba-property: #1234;
+  color: #1234;
 }
 
 d {
-  rgba-property: #12345;
+  color: #12345;
 }
 
 e {
-  rgba-property: #1234567;
+  color: #1234567;
 }
 
 f {
-  rgba-property: notacolorname;
+  color: notacolorname;
 }
 
 g {
-  rgba-property: rgb(1,2,3,4);
+  color: rgb(1,2,3,4);
 }
 
 h {
-  rgba-property: rgba(1,2,3,4,5);
+  color: rgba(1,2,3,4,5);
 }
index 9d96b957567e09390595af2419a875f67e8d1a3f..ed69db63321b7d631a9f6fe38fe147e3487c0e26 100644 (file)
@@ -1,59 +1,59 @@
 a {
-  rgba-property: red;
+  color: red;
 }
 
 b {
-  rgba-property: rgba(255,0,0,1.0);
+  color: rgba(255,0,0,1.0);
 }
 
 c {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 d {
-  rgba-property: rgba(100%,0%,0%,1);
+  color: rgba(100%,0%,0%,1);
 }
 
 e {
-  rgba-property: rgb(100%,0,0);
+  color: rgb(100%,0,0);
 }
 
 f {
-  rgba-property: #f00;
+  color: #f00;
 }
 
 g {
-  rgba-property: #ff0000;
+  color: #ff0000;
 }
 
 h {
-  rgba-property: #F00;
+  color: #F00;
 }
 
 i {
-  rgba-property: #fF0000;
+  color: #fF0000;
 }
 
 j {
-  rgba-property: rgba( 255 , 0 , 0 , 1 ) ;
+  color: rgba( 255 , 0 , 0 , 1 ) ;
 }
 
 k {
-  rgba-property: rgb( 255 , 0 , 0 ) ;
+  color: rgb( 255 , 0 , 0 ) ;
 }
 
 l {
-  rgba-property:/*x*/rgba(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/,/*x*/1/*x*/)/*x*/;
+  color:/*x*/rgba(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/,/*x*/1/*x*/)/*x*/;
 }
 
 m {
-  rgba-property:/*x*/rgb(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/)/*x*/;
+  color:/*x*/rgb(/*x*/255/*x*/,/*x*/0/*x*/,/*x*/0/*x*/)/*x*/;
 }
 
 n {
-  rgba-property: /*x*/ rgba( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 1 /*x*/ ) /*x*/ ;
+  color: /*x*/ rgba( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 1 /*x*/ ) /*x*/ ;
 }
 
 o {
-  rgba-property: /*x*/ rgb( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ ) /*x*/ ;
+  color: /*x*/ rgb( /*x*/ 255 /*x*/ , /*x*/ 0 /*x*/ , /*x*/ 0 /*x*/ ) /*x*/ ;
 }
index ba18119fc1cbe16793c394f7e4f99d3430295a24..f8e68c1a68c340856dd2acc099da8b386b141038 100644 (file)
@@ -1,59 +1,59 @@
 a {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 b {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 c {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 d {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 e {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 f {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 g {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 h {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 i {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 j {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 k {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 l {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 m {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 n {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }
 
 o {
-  rgba-property: rgb(255,0,0);
+  color: rgb(255,0,0);
 }